package com.google.code.mircle.core.transfers;

import java.awt.BorderLayout;

import javax.swing.DefaultListModel;
import javax.swing.JList;
import javax.swing.JPanel;

import com.google.code.mircle.core.View;

public class QueueView extends JPanel implements View {

    public QueueView(QueueModel s) {
        super(new BorderLayout());

        DefaultListModel listModel = new DefaultListModel();
        listModel.addElement("[automatic queue, handle only 3 torrent at once. other staying in queue]");
        listModel.addElement("Seeding Torrent 1");
        listModel.addElement("Seeding Torrent 2");
        listModel.addElement("Seeding Torrent 3");
        listModel.addElement("Sending DC++ file to USer1");

        JList l = new JList(listModel);
        add(l, BorderLayout.CENTER);
    }
}
